<table class="table table-hover table-bordered table-list" id="menus-table">
    <tr>
        <th></th>
        <foreach name="fields" item="field">
        <th>{$field:title}</th>
        </foreach>
        <th>操作</th>
    </tr>
    {$categories}
</table>
<script>
    $(document).ready(function () {
        Wind.css('treeTable');
        Wind.use('treeTable', function () {
            $("#menus-table").treeTable({
                indent: 20
            });
        });
    });
</script>
